Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Create  a  Folder  With  a  Name  Based  on  the  Monday  and  Friday  of  the  Coming  Week  

 Content of Create a Folder With a Name Based on the Monday and Friday of the Coming Week.vbs
MD5 Hash: 0BBB85847593825471BAE381E05E3FE1
intDay = Weekday(Date)

If intDay = 1 Then
intAdder = 1
Else
intAdder = 9 - intDay
End If

dtmMonday = Date + intAdder
dtmFriday = dtmMonday + 4

strFolderName = "C:\Test\" & dtmMonday & " to " & dtmFriday
strFolderName = Replace(strFolderName, "/", "-")

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.CreateFolder(strFolderName)



   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a